package com.mrdeer.common.exception;

import org.springframework.security.authentication.InternalAuthenticationServiceException;

/**
 * @author xie jianchu
 */
public class LoginFailLimitException extends InternalAuthenticationServiceException {

    private String msg;

    public LoginFailLimitException(String message, Throwable cause, String msg) {
        super(message, cause);
        this.msg = msg;
    }

    public LoginFailLimitException(String message, String msg) {
        super(message);
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }
}
